package com.addplus.townmall.server.api.model.town;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城店铺发票信息表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("store_invoice_config")
public class StoreInvoiceConfig extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商城店铺主键id
     */
    @TableField("store_id")
    private Integer storeId;
    /**
     * 是否提供发票
     */
    @TableField("is_invoice")
    private Integer isInvoice;
    /**
     * 是否提供普通发票
     */
    @TableField("is_plain_invoice")
    private Integer isPlainInvoice;
    /**
     * 是否提供电子发票
     */
    @TableField("is_electronic_invoice")
    private Integer isElectronicInvoice;
    /**
     * 普通发票税率
     */
    @TableField("plain_invoice_rate")
    private BigDecimal plainInvoiceRate;
    /**
     * 是否提供增值税发票
     */
    @TableField("is_vatInvoice")
    private Integer isVatinvoice;
    /**
     * 订单完成后多少天开具增值税发票
     */
    @TableField("vatInvoice_day")
    private Integer vatinvoiceDay;
    /**
     * 增值税税率
     */
    @TableField("vatInvoice_rate")
    private BigDecimal vatinvoiceRate;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
